<?php
class SimpleTableList extends DBList {
		
	protected $dbTable = "tblModSimpleTable";
	protected $rowClassType = "SimpleTableItem";
	
}
	
class SimpleTableItem extends DBListItem {
	
	public function __construct($data=null, $parent=null) {
		parent::__construct($data, $parent);
		
		//Load Columns
		$l = new SimpleTableColList($this);
		$this->customdata["columns"] = $l->getByFkSimpleTable($this->pkSimpleTable);
		
	}
	
}	



class SimpleTableColList extends DBList {
	
	protected $dbTable = "tblModSimpleTableCol";
	protected $rowClassType = "SimpleTableColItem";
	
}

class SimpleTableColItem extends DBListItem {
	
}



class SimpleTableViewList extends DBList {

	protected $dbTable = "tblModSimpleTableView";
	protected $rowClassType = "SimpleTableViewItem";
	
}

class SimpleTableViewItem extends DBListItem {

}

?>